package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户曾用名记录表-数据来源启信宝
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_merchant_former_name")
@Schema(description = "商户曾用名记录表-数据来源启信宝")
public class MerMerchantFormerName extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "mer_log_id", type = IdType.ASSIGN_UUID)
    private String merLogId;

    @Schema(description = "所属商户")
    @TableField("mer_id")
    private String merId;

    @Schema(description = "曾用名")
    @TableField("former_name")
    private String formerName;

}
